package com.rodagroup.study.modules.svc.provider;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.util.concurrent.CountDownLatch;

public class SvcProviderApplication {

  public static void main(String[] args) {
    try {
      ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("spring/dubbo-provider.xml");
      context.start();

      System.out.println("dubbo svc provider endpoint started");

      new CountDownLatch(1).await();
    } catch (InterruptedException e) {
      e.printStackTrace();
    }

  }

}
